home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sun4c / archive / tcltk.z / tcltk / man / catn / pid.n < prev    next >
Text File  |  1994-09-20  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4. pid(n)                Tcl Built-In Commands                   7.0
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NAME
  11.      pid - Retrieve process id(s)
  12.  
  13. SYNOPSIS
  14.      pid ?_f_i_l_e_I_d?
  15. _________________________________________________________________
  16.  
  17.  
  18. DESCRIPTION
  19.      If the _f_i_l_e_I_d argument is  given  then  it  should  normally
  20.      refer  to  a process pipeline created with the open command.
  21.      In this case the pid command will return a list  whose  ele-
  22.      ments  are  the  process identifiers of all the processes in
  23.      the pipeline, in order.  The list will be  empty  if  _f_i_l_e_I_d
  24.      refers to an open file that isn't a process pipeline.  If no
  25.      _f_i_l_e_I_d argument is given then pid returns the process  iden-
  26.      tifier  of the current process.  All process identifiers are
  27.      returned as decimal strings.
  28.  
  29.  
  30. KEYWORDS
  31.      file, pipeline, process identifier
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Tcl                                                             1
  64.  
  65.  
  66.  
  67.